package user

type UserLogin struct {
	Name string `form:"name" json:"name" binding:"required"`
	Password string `form:"password" json:"password" binding:"required"`
}

type UserRegister struct {
	Name string `form:"name" json:"name" binding:"required,max=30"`
	Password string `form:"password" json:"password" binding:"required,max=32"`
	Password1 string `form:"password1" json:"password1" binding:"required,eqfield=Password"`
	Sex int `form:"sex" json:"sex" label:"性别"`
}

type UserGetUserInfo struct {
	UserId int `form:"user_id" json:"user_id"`
} 